package com.dqyt.khjc.moudle;



public class ResultMsg {

    public final static int FAIL = -1;

    public final static int ERROR = -2;

    public final static int SUCESS = 1;

    /**
     * 登录过期
     */
    public final static int LOGIN_EXPIRED = -102;

    /**
     * 限制登录
     */
    public final static int LOGIN_LIMIT = -103;

    /**
     * 新分配的二维码样品
     */
    public final static int NEW_SAMPLE_FP = 200;

    /**
     * 加载的旧数据
     */
    public final static int OLD_SAMPLE = 201;

    private int code;
    private String msg;
    private Object data;

    public ResultMsg() {
        super();
    }

    public ResultMsg(int icode, String imsg, Object idata) {
        super();
        code = icode;
        msg = imsg;
        data = idata;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }



}
